"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const awaitWrap = (promise) => {
    return promise
        .then(data => [null, data])
        .catch(err => [err, null]);
};
exports.default = awaitWrap;
